package com.kl.seckill.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kl.seckill.pojo.Goods;
import com.kl.seckill.vo.GoodsVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GoodsMapper extends BaseMapper<Goods> {

	/**
	 * 功能描述: 获取商品列表
	 */
	List<GoodsVo> findGoodsVo();

	/**
	 * 功能描述: 获取商品详情
	 */
	GoodsVo findGoodsVoByGoodsId(Long goodsId);
}
